WP_Defender\Component\Security_Tweaks\Servers\Apache A

Total Complexity 75
Dependencies 2
Dependents 0
Total lines 543
Lines of code 334
Logical lines of code 166
Comment lines 117
Methods 18
Properties 5

Methods 18

Method Rating Maintainability Complexity Lines of code
process()
A
39 14 63
get_version()
A
49 10 31
revert()
A
44 9 45
protect_content_directory()
A
48 7 33
protect_includes_directory()
S
49 5 32
generate_htaccess_rule()
S
59 4 16
unprotect_content_directory()
S
57 4 16
get_rules()
S
51 2 32
unprotect_includes_directory()
S
59 3 13
cleanup_old_rules()
S
63 3 11
check()
S
62 3 11
set_exclude_file_paths()
S
72 2 5
get_new_htaccess_config()
S
74 2 5
protect_uploads_directory()
S
70 2 6
unprotect_upload_directory()
S
70 2 6
get_excluded_file_paths()
S
82 1 3
set_new_htaccess_config()
S
82 1 3
__construct()
S
81 1 3